﻿using UnityEngine;
using System.Collections;

public class OnGround : MonoBehaviour
{

    // Use this for initialization
    void Start()
    {

    }

    // Update is called once per frame
    void Update()
    {

    }
    void OnTriggerStay2D(Collider2D other)
    {
        other.SendMessage("OnGroundWay",true);

    }
}
